const directives = {
  // 获取当前元素
  getDom: {
    inserted(el, binding) {
      if (typeof binding.value == 'function') {
        binding.value(el);
      }
    }
  },
}

export default directives;
